package com.ynet.finmall.assets.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ynet.finmall.assets.model.ImRoleProject;
import com.ynet.finmall.assets.model.ImRoleProjectQuery;

public interface ImRoleProjectDao {
    int countByExample(ImRoleProjectQuery example);

    int deleteByExample(ImRoleProjectQuery example);

    int deleteByPrimaryKey(String roleProjectId);

    int insert(ImRoleProject record);

    int insertSelective(ImRoleProject record);

    List<ImRoleProject> selectByExample(ImRoleProjectQuery example);

    ImRoleProject selectByPrimaryKey(String roleProjectId);

    int updateByExampleSelective(@Param("record") ImRoleProject record, @Param("example") ImRoleProjectQuery example);

    int updateByExample(@Param("record") ImRoleProject record, @Param("example") ImRoleProjectQuery example);

    int updateByPrimaryKeySelective(ImRoleProject record);

    int updateByPrimaryKey(ImRoleProject record);
}